<template>
	<view>
		<view v-if="list.length==0" class="NoNewsYet">
			<view class="NoNewsYet_Img">
				<img src="../../static/Slice 57@2x.png" />
			</view>
			<view class="NoNewsYet_text">
				暂无相关消息
			</view>
		</view>
		<view v-else class="Message_t">
			<view v-for="item in list" class="Message">
				<view>{{item.text}}</view>
				<view class="Message_time">{{item.item}}</view>
			</view>
			<view class="NoMore">没有更多了</view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				list: [
						{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},{
						text:'关于银行系统维护通知通知通...',
						item:'2020/10/23'
					},
				]
			}
		},
		methods: {

		}
	}
</script>
<style lang="scss" scoped>
	.NoNewsYet{
		
		display: flex;
		flex-direction: column;
		justify-items: center;
		align-items: center;
		padding-top: 196rpx;
		// margin-top: 196rpx;
		.NoNewsYet_Img{
			width: 312rpx;
			height: 252rpx;
			margin-bottom: 8rpx;
			img{
				height: 100%;
				width: 100%;
			}
		}
		.NoNewsYet_text{
			width: 168rpx;
			height: 40rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 28rpx;
			color: #666666;
			line-height: 33rpx;
			text-align: left;
			font-style: normal;
			text-transform: none;
		}
	}
	.Message_t{
		padding-top: 40rpx;
	}
	.Message {
		display: flex;
		justify-content: space-between;
		padding: 0 40rpx;
		// padding-top: 40rpx;
		margin-bottom: 60rpx;

		.Message_time {
			color: #6b6b6b;
		}
	}

	.NoMore {
		height: 40rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #999999;
		line-height: 33rpx;
		text-align: center;
		margin-top: 166rpx;
	}
</style>